package com.example.demo.entity;

/**
 * @author Cassius
 * @create 2019/11/7
 * @since 1.0.0
 */
public class User {
    private Address address ;
    private String name;

    public User() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public User(Address address) {
        this.address = address;
    }

    public Address getAddress() {
        return address;
    }

    public User(Address address, String name) {
        this.address = address;
        this.name = name;
    }
}
